package com.example.service;


import com.example.domain.CaptchaCase;
import net.rubyeye.xmemcached.exception.MemcachedException;
import org.springframework.cache.annotation.Cacheable;

import java.util.concurrent.TimeoutException;

public interface CaptchaCaseService {



    String sendCode(String tole) throws InterruptedException, MemcachedException, TimeoutException;

    Boolean captchaCode(CaptchaCase captchaCase) throws InterruptedException, MemcachedException, TimeoutException;
}
